package com.showcai.dao;


import com.showcai.module.Distributor;

import java.util.List;
import java.util.Map;

public interface DistributorMapper {

    int insertDistributor(Distributor record);

    int updateByPrimaryKeySelective(Distributor record);

    int updateDistributorById(Distributor record);

    List<Distributor> getDistributorList(Map<String, String> map);

    Distributor getDistributorById(Long id);

    List<Distributor> getDistributionRequirements(Map<String, String> map);
    List<Map<String,String>> distributorStatistics(Map<String, String> map);
    Map distributorStatisticsALl(Map<String, String> map);
}